home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
DDJMAG
/
DDJ9203.ZIP
/
OOPASM.ZIP
/
VMENU3.ASM
< prev
next >
Wrap
Assembly Source File
|
1990-07-22
|
1KB
|
72 lines
.MODEL SMALL
INCLUDE equates.inc
INCLUDE instance.inc
INCLUDE messages.inc
INCLUDE objects.inc
UR EQU 1 ;Upper row
LC EQU 26 ;Left column
LR EQU 5 ;Lower row
RC EQU 36 ;Right column
MR EQU UR-1 ;Mouse row
IF1
INCLUDE macros.mac
INCLUDE objects.mac
ENDIF
EXTRN Hardware:WORD
EXTRN MenuBar:WORD
EXTRN Self:WORD
EXTRN System:WORD
EXTRN VertMenu:WORD
.CODE
.DATA
defMenu VertMenu3,<\
" Setup ",\
" Refresh ",\
" Restart ">
defMenuTbl VertMenu3,\
<Self,Clear>,\
<Self,Clear>,\
<Self,Clear>
defDispTbl VertMenu3,\
<0,0,3,0,0,0,0,System,Reset>,\
<0,72,3,0,0,0,0,Self,Prev>,\
<0,80,3,0,0,0,0,Self,Next>,\
<13,28,0,MR,LC,LR,LC+10,Self,Select>,\
<0,Nil,1,MR,LC,LR,LC+10,Self,Drag>,\
<0,68,3,0,0,0,0,Self,Clear,System,Refresh,System,Read>,\
<0,75,1,MR,LC-13,MR,LC-1,Self,Clear,MenuBar,SelectPrev>,\
<0,77,3,0,0,0,0,Self,Clear,MenuBar,SelectNext>,\
<27,1,0,0,0,24,79,Self,Clear>,\
<0,Nil,1,0,0,24,79,Self,DeHilite>,\
<Nil,Nil,Nil,0,0,24,79,Hardware,Refresh>
defObj VertMenu3,\
<VertMenu>,\
<Row1,1,1,\
Col1,1,26,\
Row2,1,5,\
Col2,1,36,\
Color,1,17h,\
Unused,1,Nil,\
TxtPtr,2,Nil,\
InxPtr,2,0,\
MasterObj,2,Nil,\
DispTbl,2,VertMenu3DispTbl,\
MenuPtr,2,VertMenu3Menu,\
MenuTbl,2,VertMenu3MenuTbl>,\
<Refresh,Read,Next,Prev,Select,Clear,Hilite,DeHilite,Drag>
END